package com.yutel.phone.binh.service;

import java.util.ArrayList;

import android.content.Intent;
import android.util.Log;

import com.yutel.phone.binh.data.vo.Video;

public class CategoryService extends SyncService {
	private static final String TAG = "SearchService";

	@Override
	protected ArrayList<Video> getData(Intent intent) {
		try {
			String id = intent.getStringExtra("categoryid");
			return dq.pullVediosByCategoryid(id);
		} catch (Exception e) {
			Log.e(TAG, "查询异常", e);
			return null;
		}
	}

	@Override
	protected String getKey() {
		return this.getClass().getSimpleName();
	}

}
